//package com.kira.scaffoldmvc.Disruptor;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//import org.springframework.web.bind.annotation.RestController;
//import org.springframework.web.multipart.MultipartFile;
//
//import java.io.IOException;
//
//@RestController
//public class DataImportController {
//    // 注入数据导入服务
//    @Autowired
//    private DataImportService dataImportService;
//
//
//    // 处理文件上传和数据导入的接口
//    @PostMapping("/import")
//    public String importData(@RequestParam("file") MultipartFile file) throws IOException {
//        // 调用数据导入服务进行数据导入
//        dataImportService.importData(file.getInputStream());
//        return "数据导入成功";
//    }
//}